<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<!-- Mirrored from www.wolfssl.com/wolfSSL/wolfssl-quickstart.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 17 Jan 2017 13:27:48 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="Generator" content="iWeb 3.0.4"/>
<meta name="iWeb-Build" content="local-build-20170103"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<meta name="viewport" content="width=770"/>
<title>wolfSSL - Quickstart Guide</title>
<link rel="stylesheet" type="text/css" media="screen,print" href="wolfssl-quickstart_files/wolfssl-quickstart.css"/>
<!--[if lt IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='wolfssl-quickstart_files/wolfssl-quickstartIE.css'/><![endif]-->
<!--[if gte IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='Media/IE8.css'/><![endif]-->
<script type="text/javascript" src="Scripts/iWebSite.js"></script>
<script type="text/javascript" src="wolfssl-quickstart_files/wolfssl-quickstart.js"></script>
<meta name="description" content="wolfSSL quick start guide to getting up and running quickly with the wolfSSL embedded SSL/TLS library."/><meta name="keywords" content="embedded ssl, open ssl, openssl, cyassl openssl, ssl library, openssl alternative, tls 1.2, tls library, open source projects, open source ssl, open source tls, ssl, tls, home energy monitoring ssl, electronic games ssl, database ssl, sensor ssl, voip ssl, router ssl, ssl inspection, small openssl, smart grid, connected home, ecc, lightweight ssl, suite b, encryption security software, ssl inspection"/><meta name="robots" content="follow,index"/> <script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','../../www.google-analytics.com/analytics.js','ga');ga('create','UA-64826966-1','auto');ga('send','pageview');</script>
 
<script>//<![CDATA[
window.zEmbed||function(e,t){var n,o,d,i,s,a=[],r=document.createElement("iframe");window.zEmbed=function(){a.push(arguments)},window.zE=window.zE||window.zEmbed,r.src="javascript:false",r.title="",r.role="presentation",(r.frameElement||r).style.cssText="display: none",d=document.getElementsByTagName("script"),d=d[d.length-1],d.parentNode.insertBefore(r,d),i=r.contentWindow,s=i.document;try{o=s}catch(c){n=document.domain,r.src='javascript:var d=document.open();d.domain="'+n+'";void(0);',o=s}o.open()._l=function(){var o=this.createElement("script");n&&(this.domain=n),o.id="js-iframe-async",o.src=e,this.t=+new Date,this.zendeskHost=t,this.zEQueue=a,this.body.appendChild(o)},o.write('<body onload="document._l();">'),o.close()}("../../assets.zendesk.com/embeddable_framework/main.js","wolfssl.zendesk.com");
//]]></script>
  </head>
<body style="background: rgb(255, 255, 255); margin: 0pt; " onload="onPageLoad();">
<div style="text-align: center; ">
<div style="margin-bottom: 20px; margin-left: auto; margin-right: auto; margin-top: 20px; overflow: hidden; position: relative; word-wrap: break-word;  background: rgb(255, 255, 255); text-align: left; width: 770px; " id="body_content">
<div style="float: left; margin-left: 0px; position: relative; width: 770px; z-index: 0; " id="nav_layer">
<div style="height: 0px; line-height: 0px; " class="bumper"> </div>
<div style="clear: both; height: 0px; line-height: 0px; " class="spacer"> </div>
</div>
<div style="float: left; height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 770px; z-index: 10; " id="header_layer">
<div style="height: 0px; line-height: 0px; " class="bumper"> </div>
</div>
<div style="margin-left: 0px; position: relative; width: 770px; z-index: 5; " id="body_layer">
<div style="height: 0px; line-height: 0px; " class="bumper"> </div>
<div style="height: 178px; width: 219px;  height: 178px; left: 277px; position: absolute; top: 5368px; width: 218px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 218px; ">
<img src="wolfssl-quickstart_files/shapeimage_1.png" alt="" style="height: 178px; left: 0px; position: absolute; top: 0px; width: 219px; "/>
</div>
</div>
<div id="id1" style="height: 27px; left: 311px; position: absolute; top: 5508px; width: 150px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_150_27" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style"><a class="class1" title="fips.html" href="fips.html">More Information</a></p>
</div>
</div>
</div>
<div id="id2" style="height: 5142px; left: 39px; position: absolute; top: 198px; width: 697px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_697_5142" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-top: 0pt; " class="paragraph_style_1">Introduction to wolfSSL<br/></p>
<p class="paragraph_style_2"><br/></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_4"><span class="style">The wolfSSL embedded SSL library (formerly CyaSSL) is a lightweight SSL/TLS library written in ANSI C and targeted for embedded, RTOS, and resource-constrained environments - primarily because of its small size, speed, and feature set.  It is commonly used in standard operating environments as well because of its royalty-free pricing and excellent cross platform support.  wolfSSL supports industry standards up to the current TLS 1.2 and DTLS 1.2 levels, is up to 20 times smaller than OpenSSL, and offers progressive ciphers such as ChaCha20, Curve25519, NTRU, and Blake2b. User benchmarking and feedback reports dramatically better performance when using wolfSSL over OpenSSL.<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_4"><span class="style">The wolfSSL library is designed to facilitate secure communication, as well as offering a suite of cryptographic algorithms and a command line tool. In this quickstart guide, we will cover basic installation and setup, as well as simple use cases. For a more comprehensive tour, see the manual linked to in the Helpful Links section towards the bottom. A number of other useful links are also available for those new to the wonderful world of secure communication.<br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_1">Before You Get Started<br/></p>
<p class="paragraph_style_2"><br/></p>
<p class="paragraph_style_5">Requirements<br/></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 30px; text-indent: -15px; " class="full-width">
<p style="text-indent: -15px; " class="paragraph_style_6"><span style="font-size: 18px; position: relative; top: 3px; " class="Bullet">•</span><span style="width: 5px; " class="inline-block"></span><span class="style">make<br/></span></p>
</li>
<li style="line-height: 18px; padding-left: 30px; text-indent: -15px; " class="full-width">
<p style="text-indent: -15px; " class="paragraph_style_6"><span style="font-size: 18px; position: relative; top: 3px; " class="Bullet">•</span><span style="width: 5px; " class="inline-block"></span><span class="style">Autoconf<br/></span></p>
</li>
<li style="line-height: 18px; padding-left: 30px; text-indent: -15px; " class="full-width">
<p style="text-indent: -15px; " class="paragraph_style_6"><span style="font-size: 18px; position: relative; top: 3px; " class="Bullet">•</span><span style="width: 5px; " class="inline-block"></span><span class="style">C compiler (gcc, clang)<br/></span></p>
</li>
</ol>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_5">Optional<span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 30px; text-indent: -15px; " class="full-width">
<p style="text-indent: -15px; " class="paragraph_style_6"><span style="font-size: 18px; position: relative; top: 3px; " class="Bullet">•</span><span style="width: 5px; " class="inline-block"></span><span class="style">git<br/></span></p>
</li>
<li style="line-height: 18px; padding-left: 30px; text-indent: -15px; " class="full-width">
<p style="text-indent: -15px; " class="paragraph_style_6"><span style="font-size: 18px; position: relative; top: 3px; " class="Bullet">•</span><span style="width: 5px; " class="inline-block"></span><span class="style">Basic knowledge of the C language<br/></span></p>
</li>
<li style="line-height: 18px; padding-left: 30px; text-indent: -15px; " class="full-width">
<p style="text-indent: -15px; " class="paragraph_style_6"><span style="font-size: 18px; position: relative; top: 3px; " class="Bullet">•</span><span style="width: 5px; " class="inline-block"></span><span class="style">Basic knowledge of server/client communication<br/></span></p>
</li>
<li style="line-height: 18px; padding-left: 30px; text-indent: -15px; " class="full-width">
<p style="text-indent: -15px; " class="paragraph_style_6"><span style="font-size: 18px; position: relative; top: 3px; " class="Bullet">•</span><span style="width: 5px; " class="inline-block"></span><span class="style">Basic knowledge of SSL/TLS<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_4"><span class="style">The more you know, the easier it will be to get going. There are a number of links in the Helpful Links section to read up on SSL/TLS.<br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_1">Installation and Compilation<br/></p>
<p class="paragraph_style_2"><br/></p>
<p class="paragraph_style_7">The wolfSSL library requires the use of autoconf and a C compiler in order to operate. wolfSSL supports a majority of operating systems, a full list of which can be seen on the wolfSSL wikipedia article.<br/></p>
<p class="paragraph_style_7"><br/></p>
<p class="paragraph_style_5">Getting the Code<br/></p>
<p class="paragraph_style_7"><br/></p>
<p class="paragraph_style_8">Download the source from one of the following locations: <a title="https://www.wolfssl.com/" href="https://www.wolfssl.com/">wolfSSL webpage</a> or <a title="https://www.github.com/wolfssl/wolfssl" href="https://www.github.com/wolfssl/wolfssl">GitHub</a>. Note: it is necessary to run <span class="style_1">autogen.sh</span> if the source is downloaded from the<br/></p>
<p class="paragraph_style_8">GitHub repo.<br/></p>
<p class="paragraph_style_7"><br/></p>
<p class="paragraph_style_5">Setup<br/></p>
<p class="paragraph_style_7"><br/></p>
<p class="paragraph_style_8">After you have downloaded the source code run the following commands from the wolfssl/ directory:<br/></p>
<p class="paragraph_style_8"><br/></p>
<p class="paragraph_style_9">./configure<br/>make<br/>sudo make install<br/></p>
<p class="paragraph_style_8">          <br/></p>
<p class="paragraph_style_8"><span class="style_1">./configure</span> uses autoconf to configure wolfSSL to default settings; a full list of possible options can be found in the manual. <span class="style_1">make</span> will compile the wolfSSL library. <span class="style_1">sudo make install</span> will allow one to use wolfSSL from anywhere by including the package with <span class="style_1">#include &lt;wolfssl/ssl.h&gt;</span> and linking wolfSSL at compilation (e.g. using the -lwolfssl option).<br/></p>
<p class="paragraph_style_8"><br/></p>
<p class="paragraph_style_8">That's it!<br/></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_1">Hello, World! Server/Client Example<br/></p>
<p class="paragraph_style_2"><br/></p>
<p class="paragraph_style_8">Now that wolfSSL has been compiled and installed we can include it and use any of its functions. Here we demonstrate a simple client/server interaction using wolfSSL to secure a message.<br/></p>
<p class="paragraph_style_3"><br/></p>
<p class="paragraph_style_5">client.c<br/></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_10"><span class="style_2">#include </span>&lt;wolfssl/options.h&gt;<span class="style_2"><br/></span></p>
<p class="paragraph_style_10"><span class="style_2">#include </span>&lt;wolfssl/ssl.h&gt;<span class="style_2"><br/></span></p>
<p class="paragraph_style_10"><span class="style_2">#include </span>&lt;wolfssl/test.h&gt;<span class="style_2"><br/></span></p>
<p class="paragraph_style_11">#include <span class="style_3">&lt;errno.h&gt;</span><br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_11">#define SERV_PORT <span class="style_4">11111</span><br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_12"><span class="style_5">int</span> main()<br/></p>
<p class="paragraph_style_12">{<br/></p>
<p class="paragraph_style_12">    <span class="style_5">int</span> sockfd; <br/></p>
<p class="paragraph_style_12">    WOLFSSL_CTX* ctx;<br/></p>
<p class="paragraph_style_12">    WOLFSSL* ssl;<br/></p>
<p class="paragraph_style_12">    WOLFSSL_METHOD* method;<br/></p>
<p class="paragraph_style_12">    <span class="style_5">struct</span>  sockaddr_in servAddr;<br/></p>
<p class="paragraph_style_10">    <span class="style_5">const</span> <span class="style_5">char</span> message[] = &quot;Hello, World!&quot;;<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* create and set up socket */<br/></p>
<p class="paragraph_style_12">    sockfd = socket(AF_INET, SOCK_STREAM, <span class="style_4">0</span>); <br/></p>
<p class="paragraph_style_12">    memset(&amp;servAddr, <span class="style_4">0</span>, <span class="style_5">sizeof</span>(servAddr)); <br/></p>
<p class="paragraph_style_12">    servAddr.sin_family = AF_INET;   <br/></p>
<p class="paragraph_style_12">    servAddr.sin_port = htons(SERV_PORT); <br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* connect to socket */<br/></p>
<p class="paragraph_style_12">    connect(sockfd, (<span class="style_5">struct</span> sockaddr *) &amp;servAddr, <span class="style_5">sizeof</span>(servAddr)); <br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* initialize wolfssl library */<br/></p>
<p class="paragraph_style_12">    wolfSSL_Init(); <br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_12">    method = wolfTLSv1_2_client_method(); <span class="style_3">/* use TLS v1.2 */</span><br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* make new ssl context */<br/></p>
<p class="paragraph_style_12">    <span class="style_5">if</span> ( (ctx = wolfSSL_CTX_new(method)) == <span class="style_5">NULL</span>) {<br/></p>
<p class="paragraph_style_10">        err_sys(&quot;wolfSSL_CTX_new error&quot;);<br/></p>
<p class="paragraph_style_12">    }<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* make new wolfSSL struct */<br/></p>
<p class="paragraph_style_12">    <span class="style_5">if</span> ( (ssl = wolfSSL_new(ctx)) == <span class="style_5">NULL</span>) {<br/></p>
<p class="paragraph_style_10">        err_sys(&quot;wolfSSL_new error&quot;);<br/></p>
<p class="paragraph_style_12">    }<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* Add cert to ctx */<br/></p>
<p class="paragraph_style_12">    <span class="style_5">if</span> (wolfSSL_CTX_load_verify_locations(ctx, <span class="style_3">&quot;certs/ca-cert.pem&quot;</span>, <span class="style_4">0</span>) != <br/></p>
<p class="paragraph_style_12">                SSL_SUCCESS) {<br/></p>
<p class="paragraph_style_10">        err_sys(&quot;Error loading certs/ca-cert.pem&quot;);<br/></p>
<p class="paragraph_style_12">    }<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* Connect wolfssl to the socket, server, then send message */<br/></p>
<p class="paragraph_style_12">    wolfSSL_set_fd(ssl, sockfd); <br/></p>
<p class="paragraph_style_12">    wolfSSL_connect(ssl); <br/></p>
<p class="paragraph_style_12">    wolfSSL_write(ssl, message, strlen(message));<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* frees all data before client termination */<br/></p>
<p class="paragraph_style_12">    wolfSSL_free(ssl);<br/></p>
<p class="paragraph_style_12">    wolfSSL_CTX_free(ctx);<br/></p>
<p class="paragraph_style_12">    wolfSSL_Cleanup();<br/></p>
<p class="paragraph_style_12">}<span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_4"><span class="style">This client attempts to access a server on port 11111, with localhost being the default. Then it attempts to send a single message of &quot;Hello, World!&quot;, encrypted, to the server. Then it exits.<br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_5">server.c<span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_10"><span class="style_2">#include </span>&lt;wolfssl/options.h&gt;<span class="style_2"><br/></span></p>
<p class="paragraph_style_10"><span class="style_2">#include </span>&lt;wolfssl/ssl.h&gt;<span class="style_2"><br/></span></p>
<p class="paragraph_style_10"><span class="style_2">#include </span>&lt;wolfssl/test.h&gt;<span class="style_2"><br/></span></p>
<p class="paragraph_style_11">#include <span class="style_3">&lt;errno.h&gt;</span><br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_11">#define SERV_PORT <span class="style_4">11111</span><br/></p>
<p class="paragraph_style_11">#define MAX_LINE <span class="style_4">4096</span><br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_12"><span class="style_5">int</span> main(<span class="style_5">int</span> argc, <span class="style_5">char</span>** argv) <br/></p>
<p class="paragraph_style_12">{<br/></p>
<p class="paragraph_style_12">    <span class="style_5">int</span> listenfd, connfd;<br/></p>
<p class="paragraph_style_12">    WOLFSSL_CTX* ctx;<br/></p>
<p class="paragraph_style_12">    WOLFSSL* ssl;<br/></p>
<p class="paragraph_style_12">    <span class="style_5">int</span> n;<br/></p>
<p class="paragraph_style_12">    <span class="style_5">char</span> buf[MAX_LINE];<br/></p>
<p class="paragraph_style_12">    WOLFSSL_METHOD* method;<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* Initialize wolfSSL library */<br/></p>
<p class="paragraph_style_12">    wolfSSL_Init();<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* Get encryption method */<br/></p>
<p class="paragraph_style_12">    method = wolfTLSv1_2_server_method();<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* Create wolfSSL_CTX */<br/></p>
<p class="paragraph_style_12">    <span class="style_5">if</span> ( (ctx = wolfSSL_CTX_new(method)) == <span class="style_5">NULL</span>) <br/></p>
<p class="paragraph_style_10">        err_sys(&quot;wolfSSL_CTX_new error&quot;);<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* Load server certs into ctx */<br/></p>
<p class="paragraph_style_12">    <span class="style_5">if</span> (wolfSSL_CTX_use_certificate_file(ctx, <span class="style_3">&quot;certs/server-cert.pem&quot;</span>,<br/></p>
<p class="paragraph_style_12">                SSL_FILETYPE_PEM) != SSL_SUCCESS) <br/></p>
<p class="paragraph_style_10">        err_sys(&quot;Error loading certs/server-cert.pem&quot;);<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* Load server key into ctx */<br/></p>
<p class="paragraph_style_12">    <span class="style_5">if</span> (wolfSSL_CTX_use_PrivateKey_file(ctx, <span class="style_3">&quot;certs/server-key.pem&quot;</span>,<br/></p>
<p class="paragraph_style_12">                SSL_FILETYPE_PEM) != SSL_SUCCESS)<br/></p>
<p class="paragraph_style_10">        err_sys(&quot;Error loading certs/server-key.pem&quot;);<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_12">    tcp_accept(&amp;listenfd, &amp;connfd, <span class="style_5">NULL</span>, SERV_PORT, <span class="style_4">0</span>, <span class="style_4">0</span>, <span class="style_4">0</span>);<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_10">    /* Create wolfSSL object */<br/></p>
<p class="paragraph_style_12">    <span class="style_5">if</span> ( (ssl = wolfSSL_new(ctx)) == <span class="style_5">NULL</span>) <br/></p>
<p class="paragraph_style_10">        err_sys(&quot;wolfSSL_new error&quot;);<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_12">    wolfSSL_set_fd(ssl, connfd);<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_12">    <span class="style_5">if</span> ( (n = wolfSSL_read(ssl, buf, (<span class="style_5">sizeof</span>(buf) -<span class="style_4">1</span>))) &gt; <span class="style_4">0</span>) {<br/></p>
<p class="paragraph_style_12">        printf(<span class="style_3">&quot;%s\n&quot;</span>, buf);<br/></p>
<p class="paragraph_style_12">        <span class="style_5">if</span> (wolfSSL_write(ssl, buf, n) != n)<br/></p>
<p class="paragraph_style_10">            err_sys(&quot;wolfSSL_write error&quot;);<br/></p>
<p class="paragraph_style_12">    }<br/></p>
<p class="paragraph_style_12">    <span class="style_5">if</span> (n &lt;<span class="style_4">0</span>)<br/></p>
<p class="paragraph_style_12">        printf(<span class="style_3">&quot;wolfSSL_read error = %d\n&quot;</span>, wolfSSL_get_error(ssl, n));<br/></p>
<p class="paragraph_style_12">    <span class="style_5">else</span> <span class="style_5">if</span> (n == <span class="style_4">0</span>)<br/></p>
<p class="paragraph_style_10">        printf(&quot;Connection close by peer\n&quot;);<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_12">    wolfSSL_free(ssl);<br/></p>
<p class="paragraph_style_12">    close(connfd);<br/></p>
<p class="paragraph_style_12"><br/></p>
<p class="paragraph_style_12">    wolfSSL_CTX_free(ctx);<br/></p>
<p class="paragraph_style_12">    wolfSSL_Cleanup();<br/></p>
<p class="paragraph_style_12">    exit(EXIT_SUCCESS);<br/></p>
<p class="paragraph_style_12">}<span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_4"><span class="style">The server waits on the port until it hears a request, and then prints a single message before exiting. To compile this file, it is important to link the wolfSSL library with the </span><span style="font-family: 'LucidaGrande-Bold', 'Lucida Grande', 'Lucida Console', sans-serif; font-size: 12px; font-stretch: normal; font-style: normal; font-weight: 700; line-height: 18px; " class="style_6">‐</span><span class="style_6">lwolfssl</span><span class="style"> option, this is automatically handled by the Makefile which can be obtained with this code on GitHub.<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_4"><span class="style_6">Note:</span><span class="style"> If you run into any errors or unexpected behavior, check out the full tutorial found in </span><a title="Docs-wolfssl-manual-11-ssl-tutorial.html" href="Docs-wolfssl-manual-11-ssl-tutorial.html">chapter 11</a><span class="style"> of the official manual.<br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_1">Mini API<br/></p>
<p class="paragraph_style_2"><br/></p>
<p class="paragraph_style_4"><span class="style">Below is a small subset of the wolfSSL API. These functions are the ones assumed to be the most valuable to a new user. More information is obtainable in the official manual.<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">int wolfSSL_Init(void)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">Initializes the wolfSSL library for use. Must be called once per application and before any other call to the library.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">WOLFSSL_CTX* wolfSSL_CTX_new(WOLFSSL_METHOD* method)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function creates a new SSL context, taking a desired SSL/TLS protocol method for input.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">WOLFSSL* wolfSSL_new(WOLFSSL_CTX* ctx)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function creates a new SSL session, taking an already created SSL context as input.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">int wolfSSL_set_fd(WOLFSSL* ssl, int fd)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function assigns a file descriptor (fd) as the input/output facility for the SSL connection. Typically this will be a socket file descriptor.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">WOLFSSL_METHOD* wolfTLSv1_2_client_method()<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">The wolfTLSv1_2_client_method() function is used to indicate that the application is a client and will only support the TLS 1.2 protocol. This function allocates memory for and initializes a new WOLFSSL_METHOD structure to be used when creating the SSL/TLS context with wolfSSL_CTX_new().<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">WOLFSSL_METHOD* wolfTLSv1_2_server_method()<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">The wolfTLSv1_2_server_method() function is used to indicate that the application is a server and will only support the TLS 1.2 protocol. This function allocates memory for and initializes a new WOLFSSL_METHOD structure to be used when creating the SSL/TLS context with wolfSSL_CTX_new().<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">int wolfSSL_connect(WOLFSSL* ssl)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function is called on the client side and initiates an SSL/TLS handshake with a server. When this function is called, the underlying communication channel has already been set up.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">void wolfSSL_write(WOLFSSL* ssl, const void* data, int sz)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function writes sz bytes from the buffer, data, to the SSL connection, ssl. If necessary, wolfSSL_write() will negotiate an SSL/TLS session if the handshake has not already been performed yet by wolfSSL_connect() or wolfSSL_accept().<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">void wolfSSL_read(WOLFSSL* ssl, void* data, int sz)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function reads sz bytes from the SSL session (ssl) internal read buffer into the buffer data. The bytes read are removed from the internal receive buffer.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">void wolfSSL_free(WOLFSSL* ssl)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function frees an allocated WOLFSSL object.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">void wolfSSL_CTX_free(WOLFSSL_CTX* ctx)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function frees an allocated WOLFSSL_CTX object. This function decrements the CTX reference count and only frees the context when the reference count has reached 0.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">void wolfSSL_Cleanup(void)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">Un-initializes the wolfSSL library from further use. Doesn't have to be called, though it will free any resources used by the library.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">int wolfSSL_CTX_use_certificate_file(WOLFSSL_CTX* ctx, const char* file, int format)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function loads a certificate file into the SSL context (WOLFSSL_CTX). The file is provided by the file argument. The format argument specifies the format type of the file - either SSL_FILETYPE_ASN1 or SSL_FILETYPE_PEM. Please see the examples for proper usage.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">int wolfSSL_CTX_use_PrivateKey_file(WOLFSSL_CTX* ctx, const char* file, int format)<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<ol>
<li style="line-height: 18px; padding-left: 20px; text-indent: -20px; " class="full-width">
<p style="text-indent: -20px; " class="paragraph_style_14"><span style="font-size: 0px; position: relative; top: -8px; " class="Bullet"></span><span style="width: 20px; " class="inline-block"></span><span class="style">This function loads a private key file into the SSL context (WOLFSSL_CTX). The file is provided by the file argument. The format argument specifies the format type of the file - SSL_FILETYPE_ASN1or SSL_FILETYPE_PEM. Please see the examples for proper usage.<br/></span></p>
</li>
</ol>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_1">FAQ<br/></p>
<p class="paragraph_style_15"><span class="style"><br/></span></p>
<p class="paragraph_style_5">Using the echoclient &amp; echoserver with Visual Studio<span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style">The echoserver and echoclient are examples found in the examples directory of the wolfSSL source. Check out the tutorial in the links below.<br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_5">Configure options<span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style_6">--enable-opensslextra</span><span class="style"> enables OpenSSL compatibility, providing wolfSSL functions with OpenSSL names.<br/></span><span class="style_6">--enable-pwdbased</span><span class="style"> enables password based encryption. This is often paired with opensslextra.<br/></span></p>
<p class="paragraph_style_3"><span class="style_6">--enable-dtls</span><span class="style">, this enables DTLS which is useful for a UDP connection, or just trying to run the wolfSSL examples.<br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/>More information on configure options can be found in </span><a title="Docs-wolfssl-manual-2-building-wolfssl.html" href="Docs-wolfssl-manual-2-building-wolfssl.html">chapter 2.5 of the manual</a><span class="style">.<br/></span></p>
<p class="paragraph_style_3"><span class="style">      <br/></span></p>
<p class="paragraph_style_5">Cross compiling<span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_4"><span class="style">When cross compiling, you'll need to specify the host to ./configure, such as:<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">./configure --host=arm-linux<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/>You may also need to specify the compiler, linker, etc. that you want to use:<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_13"><span class="style">./configure --host=arm-linux CC=arm-linux-gcc AR=arm-linux-ar RANLIB=arm-linux<br/></span></p>
<p class="paragraph_style_4"><span class="style"><br/></span></p>
<p class="paragraph_style_4"><span class="style">More information on cross compiling can be found in </span><a title="Docs-wolfssl-manual-2-building-wolfssl.html" href="Docs-wolfssl-manual-2-building-wolfssl.html">chapter 2.6 of the manual</a><span class="style">.<br/></span></p>
<p class="paragraph_style_3"><span class="style"><br/></span></p>
<p class="paragraph_style_1">Helpful Links<br/></p>
<p class="paragraph_style_15"><span class="style"><br/></span></p>
<p class="paragraph_style_3"><span class="style">I</span><span style="line-height: 18px; " class="style_7">n general, these are links which will be useful for using both wolfSSL, as well as networked and secure applications in general. Furthermore, there is a more comprehensive tutorial that can be found in Chapter 11 of the official wolfSSL manual. The examples in the wolfSSL package and Chapter 11 do appropriate error checking, which is worth taking a look at. For a more comprehensive API, check out chapter 17 of the official manual.<br/></span></p>
<p class="paragraph_style_3"><span style="line-height: 18px; " class="style_7"><br/></span></p>
<p class="paragraph_style_3"><a title="Docs-wolfssl-manual-toc.html" href="Docs-wolfssl-manual-toc.html" style="line-height: 18px; " class="style_8">wolfSSL Manual</a><span style="line-height: 18px; " class="style_7"><br/></span></p>
<p class="paragraph_style_3"><a title="https://en.wikipedia.org/wiki/WolfSSL" href="https://en.wikipedia.org/wiki/WolfSSL" style="line-height: 18px; " class="style_8">wolfSSL Wikipedia Page</a><span style="line-height: 18px; " class="style_7"><br/></span></p>
<p class="paragraph_style_3"><a title="https://en.wikipedia.org/wiki/Comparison_of_TLS_implementations" href="https://en.wikipedia.org/wiki/Comparison_of_TLS_implementations" style="line-height: 18px; " class="style_8">Comparison of TLS Libraries Wikipedia Page</a><span style="line-height: 18px; " class="style_7"><br/></span></p>
<p class="paragraph_style_3"><a title="https://en.wikipedia.org/wiki/OSI_model" href="https://en.wikipedia.org/wiki/OSI_model" style="line-height: 18px; " class="style_8">OSI model Wikipedia page</a><span style="line-height: 18px; " class="style_7"><br/></span></p>
<p class="paragraph_style_3"><a title="Docs-wolfssl-visual-studio.html" href="Docs-wolfssl-visual-studio.html" style="line-height: 18px; " class="style_8">Visual Studio Tutorial</a><span style="line-height: 18px; " class="style_7"><br/></span></p>
<p class="paragraph_style_3"><a title="https://github.com/wolfssl/wolfssl" href="https://github.com/wolfssl/wolfssl" style="line-height: 18px; " class="style_8">wolfSSL GitHub</a><span style="line-height: 18px; " class="style_7"><br/></span></p>
</div>
</div>
</div>
<div id="id3" style="height: 32px; left: 506px; position: absolute; top: 159px; width: 229px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_229_32" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_16">wolfSSL Quickstart Guide</p>
</div>
</div>
</div>
<div id="id4" style="height: 25px; left: 35px; position: absolute; top: 5574px; width: 701px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_701_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_17">Copyright 2017 wolfSSL Inc.  All rights reserved.</p>
</div>
</div>
</div>
<div style="height: 180px; width: 221px;  height: 179px; left: 515px; position: absolute; top: 5367px; width: 220px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 220px; ">
<img src="wolfssl-quickstart_files/shapeimage_2.png" alt="" style="height: 180px; left: 0px; position: absolute; top: 0px; width: 221px; "/>
</div>
</div>
<div id="id5" style="height: 26px; left: 541px; position: absolute; top: 5377px; width: 164px; z-index: 1; " class="style_SkipStroke_1 shape-with-text">
<div class="text-content style_External_164_26" style="padding: 0px; ">
<div class="style_9">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_18">Questions?</p>
</div>
</div>
</div>
<div id="id6" style="height: 100px; left: 532px; position: absolute; top: 5406px; width: 191px; z-index: 1; " class="style_SkipStroke_1 shape-with-text">
<div class="text-content style_External_191_100" style="padding: 0px; ">
<div class="style_9">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_19">Please feel free to <a class="class2" title="Contact.html" href="Contact.html">contact us</a> with any questions you might have.</p>
</div>
</div>
</div>
<div id="id7" style="height: 31px; left: 284px; position: absolute; top: 5376px; width: 200px; z-index: 1; " class="style_SkipStroke_1 shape-with-text">
<div class="text-content style_External_200_31" style="padding: 0px; ">
<div class="style_9">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_18">wolfCrypt FIPS Module</p>
</div>
</div>
</div>
<div id="id8" style="height: 104px; left: 294px; position: absolute; top: 5403px; width: 192px; z-index: 1; " class="style_SkipStroke_1 shape-with-text">
<div class="text-content style_External_192_104" style="padding: 0px; ">
<div class="style_9">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_20">The CMVP has issued FIPS 140-2 Certificate #2425 for the <a title="https://wolfssl.com/wolfSSL/Products-wolfssl.html" href="Products-wolfssl.html">wolfCrypt Module</a> developed by wolfSSL Inc.</p>
</div>
</div>
</div>
<div style="height: 37px; width: 545px;  height: 37px; left: 191px; position: absolute; top: 80px; width: 545px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 545px; ">
<img src="wolfssl-quickstart_files/shapeimage_3.png" alt="" style="height: 37px; left: 0px; position: absolute; top: 0px; width: 545px; "/>
</div>
</div>
<div id="id9" style="height: 25px; left: 200px; position: absolute; top: 84px; width: 43px; z-index: 1; " class="style_SkipStroke_2 shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_43_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_21"><a class="class3" title="Home.html" href="Home.html">Home</a></p>
</div>
</div>
</div>
<div id="id10" style="height: 25px; left: 365px; position: absolute; top: 84px; width: 72px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_72_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_22"><a class="class4" title="https://wolfssl.com/wolfSSL/download/downloadForm.php" href="https://wolfssl.com/wolfSSL/download/downloadForm.php">Download</a></p>
</div>
</div>
</div>
<div id="id11" style="height: 25px; left: 439px; position: absolute; top: 84px; width: 59px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_59_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_22"><a class="class5" title="License.html" href="License.html">License</a></p>
</div>
</div>
</div>
<div id="id12" style="height: 25px; left: 499px; position: absolute; top: 84px; width: 44px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_44_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_22"><a class="class6" title="Blog/Blog.html" href="Blog/Blog.html">Blog</a></p>
</div>
</div>
</div>
<div id="id13" style="height: 25px; left: 589px; position: absolute; top: 84px; width: 80px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_80_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_22"><a class="class7" title="Community.html" href="Community.html">Community</a></p>
</div>
</div>
</div>
<div style="height: 36px; width: 1px;  height: 36px; left: 245px; position: absolute; top: 81px; width: 0px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 0px; ">
<img src="wolfssl-quickstart_files/shapeimage_4.png" alt="" style="height: 36px; left: 0px; position: absolute; top: 0px; width: 1px; "/>
</div>
</div>
<div style="height: 37px; width: 1px;  height: 37px; left: 296px; position: absolute; top: 80px; width: 0px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 0px; ">
<img src="wolfssl-quickstart_files/shapeimage_5.png" alt="" style="height: 37px; left: 0px; position: absolute; top: 0px; width: 1px; "/>
</div>
</div>
<div style="height: 36px; width: 1px;  height: 36px; left: 363px; position: absolute; top: 81px; width: 0px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 0px; ">
<img src="wolfssl-quickstart_files/shapeimage_6.png" alt="" style="height: 36px; left: 0px; position: absolute; top: 0px; width: 1px; "/>
</div>
</div>
<div style="height: 36px; width: 1px;  height: 36px; left: 438px; position: absolute; top: 81px; width: 0px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 0px; ">
<img src="wolfssl-quickstart_files/shapeimage_7.png" alt="" style="height: 36px; left: 0px; position: absolute; top: 0px; width: 1px; "/>
</div>
</div>
<div style="height: 37px; width: 1px;  height: 37px; left: 498px; position: absolute; top: 80px; width: 0px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 0px; ">
<img src="wolfssl-quickstart_files/shapeimage_8.png" alt="" style="height: 37px; left: 0px; position: absolute; top: 0px; width: 1px; "/>
</div>
</div>
<div style="height: 37px; width: 1px;  height: 37px; left: 589px; position: absolute; top: 80px; width: 0px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 0px; ">
<img src="wolfssl-quickstart_files/shapeimage_9.png" alt="" style="height: 37px; left: 0px; position: absolute; top: 0px; width: 1px; "/>
</div>
</div>
<div id="id14" style="height: 25px; left: 671px; position: absolute; top: 84px; width: 61px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_61_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_22"><a class="class8" title="Contact.html" href="Contact.html">Contact</a></p>
</div>
</div>
</div>
<div id="id15" style="height: 25px; left: 249px; position: absolute; top: 84px; width: 44px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_44_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_21"><a class="class9" title="About.html" href="About.html">About</a></p>
</div>
</div>
</div>
<div style="height: 36px; width: 1px;  height: 36px; left: 670px; position: absolute; top: 81px; width: 0px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 0px; ">
<img src="wolfssl-quickstart_files/shapeimage_10.png" alt="" style="height: 36px; left: 0px; position: absolute; top: 0px; width: 1px; "/>
</div>
</div>
<div id="id16" style="height: 25px; left: 298px; position: absolute; top: 84px; width: 63px; z-index: 1; " class="style_SkipStroke_2 shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_63_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_22"><a class="class10" title="Products.html" href="Products.html">Products</a></p>
</div>
</div>
</div>
<div id="id17" style="height: 25px; left: 549px; position: absolute; top: 84px; width: 41px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_41_25" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_21"><a class="class11" title="Docs.html" href="Docs.html">Docs</a></p>
</div>
</div>
</div>
<div style="height: 37px; width: 1px;  height: 37px; left: 545px; position: absolute; top: 80px; width: 0px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 0px; ">
<img src="wolfssl-quickstart_files/shapeimage_11.png" alt="" style="height: 37px; left: 0px; position: absolute; top: 0px; width: 1px; "/>
</div>
</div>
<div style="height: 180px; width: 221px;  height: 179px; left: 36px; position: absolute; top: 5366px; width: 220px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 220px; ">
<img src="wolfssl-quickstart_files/shapeimage_12.png" alt="" style="height: 180px; left: 0px; position: absolute; top: 0px; width: 221px; "/>
</div>
</div>
<div id="id18" style="height: 31px; left: 44px; position: absolute; top: 5377px; width: 190px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_190_31" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_18">wolfSSL 3.10.0</p>
</div>
</div>
</div>
<div id="id19" style="height: 85px; left: 51px; position: absolute; top: 5403px; width: 194px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_194_85" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_20">Release 3.10.0 includes a low level vulnerability fix, SHA-224, Intel SGX, RIOT OS, PKCS#12, NXP LTC crypto, STM32 CubeMX support, and more.</p>
</div>
</div>
</div>
<div id="id20" style="height: 28px; left: 108px; position: absolute; top: 5508px; width: 77px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_77_28" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_23"><a class="class12" title="https://wolfssl.com/wolfSSL/download/downloadForm.php" href="https://wolfssl.com/wolfSSL/download/downloadForm.php">Download</a></p>
</div>
</div>
</div>
<div id="id21" style="height: 33px; left: 523px; position: absolute; top: 5782px; width: 134px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_134_33" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_24">embedded ssl</p>
</div>
</div>
</div>
<div style="height: 16px; width: 20px;  height: 16px; left: 706px; position: absolute; top: 51px; width: 20px; z-index: 1; " class="tinyText">
<div style="position: relative; width: 20px; ">
<img src="wolfssl-quickstart_files/shapeimage_13.png" alt="" style="height: 16px; left: 0px; position: absolute; top: 0px; width: 20px; "/>
</div>
</div>
<div style="height: 19px; width: 19px;  height: 19px; left: 685px; position: absolute; top: 25px; width: 19px; z-index: 1; " class="tinyText style_SkipStroke_3">
<a href="http://www.wolfssl.jp/" title="http://www.wolfssl.jp"><img src="wolfssl-quickstart_files/japan.png" alt="" style="border: none; height: 19px; width: 19px; "/></a>
</div>
<div style="height: 19px; width: 19px;  height: 19px; left: 707px; position: absolute; top: 25px; width: 19px; z-index: 1; " class="tinyText style_SkipStroke_3">
<img src="wolfssl-quickstart_files/United%20Kingdom(Great%20Britain).png" alt="" style="border: none; height: 19px; width: 19px; "/>
</div>
<div id="id22" style="height: 23px; left: 328px; position: absolute; top: 48px; width: 258px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_258_23" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_25">Questions? +1 (425) 245-8247</p>
</div>
</div>
</div>
<div id="id23" style="height: 28px; left: 593px; position: absolute; top: 44px; width: 119px; z-index: 1; " class="style_SkipStroke shape-with-text">
<div class="text-content graphic_textbox_layout_style_default_External_119_28" style="padding: 0px; ">
<div class="graphic_textbox_layout_style_default">
<p style="padding-bottom: 0pt; padding-top: 0pt; " class="paragraph_style_26"><a class="class13" title="https://www.wolfssl.com/forums" href="https://www.wolfssl.com/forums">Support <span class="style_10">Forums</span></a></p>
</div>
</div>
</div>
<div style="height: 48px; width: 300px;  height: 48px; left: 235px; position: absolute; top: 5619px; width: 300px; z-index: 1; " class="tinyText style_SkipStroke_3">
<a href="https://www.rsaconference.com/events/us17" title="https://www.rsaconference.com/events/us17"><img src="wolfssl-quickstart_files/rsa.jpg" alt="" style="border: none; height: 48px; width: 300px; "/></a>
</div>
<div style="height: 62px; width: 300px;  height: 62px; left: 235px; position: absolute; top: 5687px; width: 300px; z-index: 1; " class="tinyText style_SkipStroke_3">
<a href="http://www.cybertechisrael.com/" title="http://www.cybertechisrael.com/"><img src="wolfssl-quickstart_files/2017.png" alt="" style="border: none; height: 63px; width: 300px; "/></a>
</div>
<div style="height: 121px; width: 155px;  height: 121px; left: 32px; position: absolute; top: 5px; width: 155px; z-index: 1; " class="tinyText style_SkipStroke_3">
<a href="Home.html" title="Home.html"><img src="wolfssl-quickstart_files/wolfssl_logo.png" alt="" style="border: none; height: 121px; width: 156px; "/></a>
</div>
<div style="height: 5815px; line-height: 5815px; " class="spacer"> </div>
</div>
<div style="height: 100px; margin-left: 0px; position: relative; width: 770px; z-index: 15; " id="footer_layer">
<div style="height: 0px; line-height: 0px; " class="bumper"> </div>
</div>
</div>
</div>
 </body>

<!-- Mirrored from www.wolfssl.com/wolfSSL/wolfssl-quickstart.html by HTTrack Website Copier/3.x [XR&CO'2014], Tue, 17 Jan 2017 13:28:05 GMT -->
</html>
